package Main.Latex;

public class Minipage extends Composite{
    private String width;

    public Minipage(){
        addLineToPre("\\begin{minipage}[h]{\\linewidth}\n");
        addLineToSuf("\\end{minipage}\n");

    };

    public Minipage(String width){
        this.width = width;
        addLineToPre("\\begin{minipage}[h]{"+width+"\\linewidth}\n");
        addLineToSuf("\\end{minipage}\n");
    }



}
